/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
 */
 
#include <Elementary.h>
#include "dbsqlite.h"

extern void del_conv(_conv *con);
extern void popup_warning(char *message, char *msg, void (*yes_func)(void), void (*no_func)(void));
extern void add_conv_sms();
extern void update_letter_count (void *data, Evas_Object *obj, void *event_info);
extern void reply_sms(void *data, Evas_Object *obj, void *event_info);
extern void add_edit_contact(void *data, Evas_Object *obj, void *event_info);
extern void add_sms_conv();
extern void cancel_button_clicked(void *data, Evas_Object *obj, void *event_info);
extern void contacts_app(void *data, Evas_Object *obj, void *event_info);
extern void del_sel_sms_con(void *data, Evas_Object *obj, void *event_info);

extern Evas_Object *warn_win;
extern _sms_re Re;
extern _act_element con_data;
extern char con_val[255];
extern int count_sms_con;

Evas_Object *conv_list, *win_conv, *win_new_sms, *new_sms_lb, *sms_rec_list, *conv_list_vbox;
Evas_Object *conv_list_hbox, *reply_bt, *send_bb;

void new_sms(void *data, Evas_Object *obj, void *event_info);
void get_sms_user_num(void *data, Evas_Object *obj, void *event_info);
void add_sms_num(void *data, Evas_Object *obj, void *event_info);
void make_reply(void *data, Evas_Object *obj, void *event_info);